.topbar-wrapper{
    
   width: 100%;
   height: 40px;
   background-color: #333;
}
.topbar a{
    font-size: 12px;
    color: #b0b0b0;
    display: block;
}
.topbar a:hover{
    color:#ffffff ;
}

/* 
    以下是浮动代码
        浮动最好分两步走：
            第一步确定整体列表浮动方向
            第二部确定单个元素浮动方向
        可以参考index10.css代码



*/


.topbar .service li{
    float: left;
}

.topbar .shop-cart,
.topbar .user-info{
    float: right;
}

.topbar .user-info li{
    float: left;
}

.topbar .line{
   
    color: #424242;
    padding: 0 8px;
}

/* 
    
*/

.shop-cart {
    width: 120px;
    height: 40px;
    /* background-color: #bfa; */
    background-color: #424242;   
    position: relative;
}

.shop-cart:hover .shop-list{
    display: block;
}

.shop-cart:hover{
    background-color: #ffffff;
}
/* 
    前面把a标签设置为块元素，所以下面会独占一行
    需要把它设置为行内元素 


*/
 .shop-cart a{
   display: inline;
} 
.shop-cart:hover a ,
.shop-cart:hover i{
    color: #ff6700;
}

.shop-cart .shop-list{
    width: 317px;
    height:99px;
    border: 1px solid #fff;
    box-shadow: 0 1px 2px  rgba(0, 0, 0, .2);
    margin-right: 198px;
    display: none;
    background-color:white;
    position: absolute;
    top: 40px;
    left: -199px;
    text-align: center;
    
  
    
  
   
  
}
.shop-list span{
    display: block;
    color: #424242;
    font-size: 12px;
    margin: 30px auto;
   
    

}

.fa{
    color: #b0b0b0;
    margin-left: 18px;
  
}
.user-info li:last-child{
    margin-right: 25px;
}

.app{
    position: relative;
}

.app .qrcode{
    display: none;
    width: 126px;
    height: 148px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    line-height: 1;
    text-align: center;
    position: absolute;
    left: -41px;
    
    
}

.app .qrcode img{
    width: 88px;
    margin: 20px 19px;
    margin-bottom: 12px;
}

.app .qrcode span{
    font-size: 14px;
    color: black; 
    
    

}

.app::after{
    content: '';
    display:none;
    width: 0px;
    height: 0px;
    border: 8px solid transparent;
    border-top: none;
    border-bottom-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.qrcode-wrapper:hover .app::after,
.qrcode-wrapper:hover .app .qrcode{
    display: block;
}

.header{
    height: 100px;
}

.header .logo{
    float: left;
}





